package com.hzlj.position.dbsync.liaoning.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 消息已读记录-用来做消息同步使用(MessageSync)实体类
 *
 * @author lifh
 * @since 2023-11-30 09:13:02
 */
@Data
@ToString
@TableName(value = "message_sync", autoResultMap = true)
public class MessageSync {
    /**
     * 主键
     */
    @TableId(type = IdType.INPUT, value = "id")
    private String id;
    /**
     * 记录类型   1:人工点验   2:越界/腕带
     */
    @TableField(value = "record_type")
    private String recordType;
    /**
     * 记录时间
     */
    @TableField(value = "record_time")
    private Date recordTime;
    /**
     * 读取时间
     */
    @TableField(value = "read_time")
    private Date readTime;
}
